<?php

namespace Transform;

class AaOrderTransform extends Transform
{
    public function detail()
    {
        return [
            'allows' => ['id','anchor', 'provider', 'create_time', 'status', 'phone', 'realname', 'remark'],
            'anchor' => [
                'trans' => [
                    'name' => 'User',
                    'method' => 'anchor'
                ]
            ],
            'provider' => [
                'trans' => [
                    'name' => 'User',
                    'method' => 'pub'
                ]
            ]
        ];
    }

}
